package com.abiao.shop.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Description: User   用户实体类
 * @Author: AB
 * @Date: 2021-07-09
 * @Version:v1.0
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
public class User {
    private long id;                //用户id
    private String userName;        //用户名（账号）
    private String password;        //密码
    private String salt;            //加密符
    private String head;            //头像链接
    private Date registerDate;      //注册时间
    private Date lastLoginDate;     //上次登录
    private Integer loginCount;     //登录次数

}
